create Infinite Scroll
fun createInfiniteScroll(configurationID: String, scrollView: ViewGroup, scrollItemAdWrapperTag: String, lifecycleCallbacks: <Error class: unknown class>? = null): Int
Adds banner and video banner type of ads to scrollView infinite scroll. Ads are placed inside of an infinite scrolls individual item. Number and frequency of ads shown are set by the configuration corresponding to configurationID
Return
Int the id of the infinite scroll for the factory to manage it
Parameters
configuration ID
id used to fetch the unit configuration
scroll View
View of infinite scroll
scroll Item Ad Wrapper Tag
Tag of a wrapper inside of an infinite scroll item
lifecycle Callbacks
(optional) go to BannerEventListener to know when the callbacks are called